Skip to content

Instantly share code, notes, and snippets.

@FoushWare
FoushWare / cleanup.sh
Last active April 20, 2026 15:33
macOS Developer Cleanup Script β€” free up space from caches, editors & dev tools
#!/bin/sh
# ============================================================
# 🧹 macOS Developer Cleanup Script β€” v5.0
#
# COMPATIBILITY:
# Works with any POSIX-compliant shell β€” bash 3.2+, bash 5,
# zsh, dash, sh. No bash-specific features used.
# Tested on macOS (default bash 3.2 / zsh) and Linux.
#
@nazt
nazt / 2218_API-SURFACE.md
Created April 20, 2026 15:28
hermes-agent deep /learn β€” philosophy via issues+commits, testing patterns, API surface (2026-04-20)

Hermes Agent β€” API Surface Document

Project: NousResearch/hermes-agent
Date: 2026-04-20
Scope: Integration surfaces for external systems communicating with Hermes

This document catalogs the points where external systems can integrate with Hermes Agent: CLI commands, MCP server/client modes, ACP (Agent Client Protocol), messaging platforms, plugins, tools, skills, webhooks, cron, and Python embedding.


@holly
holly / nc-tcp-forward.sh
Created October 17, 2015 02:32
easy tcp port forwarding by netcat
#!/usr/bin/env bash
set -e
if [ $# != 3 ]; then
echo 'Usage: nc-tcp-forward.sh $FRONTPORT $BACKHOST $BACKPORT' >&2
exit 1
fi

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@Ronin1702
Ronin1702 / AccessingLocalhostfromiPhone.md
Last active April 20, 2026 15:30
Accessing Localhost from iPhone

Accessing Localhost from iPhone

If you are developing a web application and want to test it on your iPhone, you can access your localhost development server directly from your iPhone. Here's how to do it:

Prerequisites

  • Ensure both your development machine and iPhone are connected to the same local network (e.g., the same WiFi).

1. Find Your Local IP Address

@samuelcolvin
samuelcolvin / hackmonty.py
Last active April 20, 2026 15:29
CLI for hackmonty.com
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.14"
# dependencies = ["httpx", "pydantic", "rich"]
# ///
"""CLI for https://hackmonty.com.
Submits a local Python file to `/run/` and drives the pause/resume loop end to
end. A second local Python file may supply module-level names used to resolve
external function calls and name lookups the sandbox hands back to the client.